@if(count($replies))
    <ul class="list-group">
        @foreach($replies as $reply)
            <li class="list-group-item">
                {{--回复的帖子--}}
                <a href="{{$reply->topic->link(['#reply',$reply->id])}}">
                    {{$reply->topic->title}}
                </a>
                <div class="reply-content" style="margin: 6px 0;">
                    {!! $reply->content !!}
                </div>

                <div class="meta">
                    <span class="glyphicon glyphicon-time" aria-hidden="true"></span> 回复于 {{ $reply->created_at->diffForHumans() }}
                </div>
            </li>
        @endforeach
    </ul>
@else
    <div class="empty-block">暂无数据</div>
@endif

{{ $replies->appends(['tab' => 'replies'])->links() }}
